//
//  TestView.h
//  Objc进阶Demo
//
//  Created by Don't update on 2018/7/17.
//  Copyright © 2018年 Don't update. All rights reserved.
//

#import <UIKit/UIKit.h>
//代理的第二种写法
@class TestView;
@protocol TestViewDelegate<NSObject>
-(void)goToController;

@end

@interface TestView : UIView
@property(nonatomic,weak)id<TestViewDelegate>delegate;
@end
